<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Face Detection with Alignment: eHimage.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Face Detection with Alignment
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">eHimage.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="eHimage_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef EHIMAGE_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define EHIMAGE_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="eHbox_8h.html">eHbox.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="eHbbox_8h.html">eHbbox.h</a>&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structeHimage.html">   23</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeHimage.html">eHimage</a> {</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structeHimage.html#af3cd8581b5bbff79b7344bfe4fac6c5a">   24</a></span>&#160;    <span class="keywordtype">double</span>* <a class="code" href="structeHimage.html#af3cd8581b5bbff79b7344bfe4fac6c5a">data</a>;       </div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structeHimage.html#a9483a5238c06a352128db41c7a4038b7">   25</a></span>&#160;    <span class="keywordtype">double</span>* <a class="code" href="structeHimage.html#a9483a5238c06a352128db41c7a4038b7">ch</a>[3];      </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structeHimage.html#a0a2c38985ae94bedd3252e225f423abd">   26</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a0a2c38985ae94bedd3252e225f423abd">sizy</a>;        </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structeHimage.html#a32762d41a4a29f7f4ec2deeaf89581b7">   27</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a32762d41a4a29f7f4ec2deeaf89581b7">sizx</a>;        </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structeHimage.html#a78c894ca2a89fca4e1b927e5ecfa27a4">   28</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a78c894ca2a89fca4e1b927e5ecfa27a4">nchannel</a>;    </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structeHimage.html#a6a36ac9a6a707ca8494875ba6cc5e5f3">   29</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structeHimage.html#a6a36ac9a6a707ca8494875ba6cc5e5f3">imsize</a>[3];      </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structeHimage.html#a02015e3f88dac09b02854a45500f4a5a">   30</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structeHimage.html#a02015e3f88dac09b02854a45500f4a5a">is_shared</a>;     </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structeHimage.html#a651a46d0e791768ecfd72ba8c6fbc3af">   31</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a651a46d0e791768ecfd72ba8c6fbc3af">stepy</a>;       </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structeHimage.html#a490e5f631a108b3cbf1dfb3c86495c2d">   32</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a490e5f631a108b3cbf1dfb3c86495c2d">stepyx</a>;      </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="eHimage_8h.html#a6f19c025a891f54181de2a73fe16f42a">   38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structeHimage.html">eHimage</a> <a class="code" href="structeHimage.html">image_t</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="eHimage_8h.html#ae304fd15a69606760d7025f41427e3d8">   43</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="structeHimage.html">image_t</a>* <a class="code" href="eHimage_8h.html#ae304fd15a69606760d7025f41427e3d8">image_ptr</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#a261c244cf36d1f5c42065d0e9f5f5ed6">image_alloc</a>(<span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a0a2c38985ae94bedd3252e225f423abd">sizy</a>, <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a32762d41a4a29f7f4ec2deeaf89581b7">sizx</a>, <span class="keywordtype">size_t</span> nch = 3);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#a261c244cf36d1f5c42065d0e9f5f5ed6">image_alloc</a>(<span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a0a2c38985ae94bedd3252e225f423abd">sizy</a>, <span class="keywordtype">size_t</span> <a class="code" href="structeHimage.html#a32762d41a4a29f7f4ec2deeaf89581b7">sizx</a>, <span class="keywordtype">size_t</span> nch, <span class="keyword">const</span> <span class="keywordtype">double</span>* fillval);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a7e87d5e4ab358be0d5bf2ee648d9ee2c">image_delete</a>(<a class="code" href="structeHimage.html">image_ptr</a> img);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a9d97a70868e2ba2958b23143e64f9201">image_fill</a>(<a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> <span class="keywordtype">double</span>* val);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#a9b760506fbf5548dd4e3715b5083e863">image_readJPG</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a014be865a1868dec62c6a796ef71810e">image_writeJPG</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a77cd33d6390bf822b058eb7f25e43d6c">image_display</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> std::string&amp; winname);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#af0063d4ff4f21fd884270787bb469ecf">image_subsample</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keywordtype">double</span> scale);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#ad385369b8994122799afb2d270e13f54">image_reduce</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#ae90c0aef6060a854178bd302a950cd87">image_resize</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keywordtype">double</span> scale);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<a class="code" href="structeHimage.html">image_ptr</a> <a class="code" href="eHimage_8h.html#afaa0749505500e27056ecd3e9dd1ae1d">image_crop</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <a class="code" href="structeHbox__f.html">fbox_t</a> crop, <span class="keywordtype">int</span>* offset=NULL, <span class="keywordtype">bool</span> shared=<span class="keyword">true</span>);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a8b0520a24e737cc7208edbe533951b5c">image_writeDetectionJpg</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> vector&lt;bbox_t&gt; boxes, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a833d312fe8e414bbe2c79a02de548d68">image_writeDetectionXml</a>(<span class="keyword">const</span> vector&lt;bbox_t&gt; boxes, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a0f26b43f04d0c7b86902114f0b6b3c6c">image_showDetection</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> vector&lt;bbox_t&gt; boxes, <span class="keyword">const</span> std::string&amp; winname);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHimage_8h.html#a92eebfec853379102723c265a4d18970">image_showFaces</a>(<span class="keyword">const</span> <a class="code" href="structeHimage.html">image_ptr</a> img, <span class="keyword">const</span> vector&lt;bbox_t&gt; boxes, <span class="keyword">const</span> std::string&amp; winname);</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structeHimage_html_a02015e3f88dac09b02854a45500f4a5a"><div class="ttname"><a href="structeHimage.html#a02015e3f88dac09b02854a45500f4a5a">eHimage::is_shared</a></div><div class="ttdeci">bool is_shared</div><div class="ttdoc">whether share data with a parent image </div><div class="ttdef"><b>Definition:</b> eHimage.h:30</div></div>
<div class="ttc" id="eHimage_8h_html_a9b760506fbf5548dd4e3715b5083e863"><div class="ttname"><a href="eHimage_8h.html#a9b760506fbf5548dd4e3715b5083e863">image_readJPG</a></div><div class="ttdeci">image_ptr image_readJPG(const char *filename)</div><div class="ttdoc">Read Jpeg image file. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:113</div></div>
<div class="ttc" id="eHimage_8h_html_a8b0520a24e737cc7208edbe533951b5c"><div class="ttname"><a href="eHimage_8h.html#a8b0520a24e737cc7208edbe533951b5c">image_writeDetectionJpg</a></div><div class="ttdeci">void image_writeDetectionJpg(const image_ptr img, const vector&lt; bbox_t &gt; boxes, const char *filename)</div><div class="ttdoc">Write Jpg image with detected faces. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:376</div></div>
<div class="ttc" id="structeHimage_html_a651a46d0e791768ecfd72ba8c6fbc3af"><div class="ttname"><a href="structeHimage.html#a651a46d0e791768ecfd72ba8c6fbc3af">eHimage::stepy</a></div><div class="ttdeci">size_t stepy</div><div class="ttdoc">step between columns </div><div class="ttdef"><b>Definition:</b> eHimage.h:31</div></div>
<div class="ttc" id="eHimage_8h_html_ae304fd15a69606760d7025f41427e3d8"><div class="ttname"><a href="eHimage_8h.html#ae304fd15a69606760d7025f41427e3d8">image_ptr</a></div><div class="ttdeci">image_t * image_ptr</div><div class="ttdoc">Pointer to image. </div><div class="ttdef"><b>Definition:</b> eHimage.h:43</div></div>
<div class="ttc" id="eHbbox_8h_html"><div class="ttname"><a href="eHbbox_8h.html">eHbbox.h</a></div><div class="ttdoc">Multi-box bounding box type and operations. </div></div>
<div class="ttc" id="structeHimage_html_a78c894ca2a89fca4e1b927e5ecfa27a4"><div class="ttname"><a href="structeHimage.html#a78c894ca2a89fca4e1b927e5ecfa27a4">eHimage::nchannel</a></div><div class="ttdeci">size_t nchannel</div><div class="ttdoc">number of channels </div><div class="ttdef"><b>Definition:</b> eHimage.h:28</div></div>
<div class="ttc" id="structeHimage_html"><div class="ttname"><a href="structeHimage.html">eHimage</a></div><div class="ttdoc">Basic image data structure. </div><div class="ttdef"><b>Definition:</b> eHimage.h:23</div></div>
<div class="ttc" id="structeHimage_html_a6a36ac9a6a707ca8494875ba6cc5e5f3"><div class="ttname"><a href="structeHimage.html#a6a36ac9a6a707ca8494875ba6cc5e5f3">eHimage::imsize</a></div><div class="ttdeci">int imsize[3]</div><div class="ttdoc">[sizy sizx nchanel] </div><div class="ttdef"><b>Definition:</b> eHimage.h:29</div></div>
<div class="ttc" id="eHimage_8h_html_a0f26b43f04d0c7b86902114f0b6b3c6c"><div class="ttname"><a href="eHimage_8h.html#a0f26b43f04d0c7b86902114f0b6b3c6c">image_showDetection</a></div><div class="ttdeci">void image_showDetection(const image_ptr img, const vector&lt; bbox_t &gt; boxes, const std::string &amp;winname)</div><div class="ttdoc">Show detection results on image and wait. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:463</div></div>
<div class="ttc" id="eHimage_8h_html_a92eebfec853379102723c265a4d18970"><div class="ttname"><a href="eHimage_8h.html#a92eebfec853379102723c265a4d18970">image_showFaces</a></div><div class="ttdeci">void image_showFaces(const image_ptr img, const vector&lt; bbox_t &gt; boxes, const std::string &amp;winname)</div><div class="ttdoc">Show face detection results: face region, eyes, nose, mouth. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:489</div></div>
<div class="ttc" id="structeHimage_html_af3cd8581b5bbff79b7344bfe4fac6c5a"><div class="ttname"><a href="structeHimage.html#af3cd8581b5bbff79b7344bfe4fac6c5a">eHimage::data</a></div><div class="ttdeci">double * data</div><div class="ttdoc">pixel value data </div><div class="ttdef"><b>Definition:</b> eHimage.h:24</div></div>
<div class="ttc" id="eHbox_8h_html"><div class="ttname"><a href="eHbox_8h.html">eHbox.h</a></div><div class="ttdoc">Box types and operations. </div></div>
<div class="ttc" id="eHimage_8h_html_ae90c0aef6060a854178bd302a950cd87"><div class="ttname"><a href="eHimage_8h.html#ae90c0aef6060a854178bd302a950cd87">image_resize</a></div><div class="ttdeci">image_ptr image_resize(const image_ptr img, double scale)</div><div class="ttdoc">Resize an image using bilateral interpolation. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:267</div></div>
<div class="ttc" id="structeHimage_html_a0a2c38985ae94bedd3252e225f423abd"><div class="ttname"><a href="structeHimage.html#a0a2c38985ae94bedd3252e225f423abd">eHimage::sizy</a></div><div class="ttdeci">size_t sizy</div><div class="ttdoc">image height </div><div class="ttdef"><b>Definition:</b> eHimage.h:26</div></div>
<div class="ttc" id="eHimage_8h_html_afaa0749505500e27056ecd3e9dd1ae1d"><div class="ttname"><a href="eHimage_8h.html#afaa0749505500e27056ecd3e9dd1ae1d">image_crop</a></div><div class="ttdeci">image_ptr image_crop(const image_ptr img, fbox_t crop, int *offset=NULL, bool shared=true)</div><div class="ttdoc">Crop image This function can be used in two ways, either get shared data from original image...</div><div class="ttdef"><b>Definition:</b> eHimage.cpp:340</div></div>
<div class="ttc" id="structeHimage_html_a490e5f631a108b3cbf1dfb3c86495c2d"><div class="ttname"><a href="structeHimage.html#a490e5f631a108b3cbf1dfb3c86495c2d">eHimage::stepyx</a></div><div class="ttdeci">size_t stepyx</div><div class="ttdoc">step between channels </div><div class="ttdef"><b>Definition:</b> eHimage.h:32</div></div>
<div class="ttc" id="eHimage_8h_html_a833d312fe8e414bbe2c79a02de548d68"><div class="ttname"><a href="eHimage_8h.html#a833d312fe8e414bbe2c79a02de548d68">image_writeDetectionXml</a></div><div class="ttdeci">void image_writeDetectionXml(const vector&lt; bbox_t &gt; boxes, const char *filename)</div><div class="ttdoc">Save detected faces in XML format. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:400</div></div>
<div class="ttc" id="structeHimage_html_a9483a5238c06a352128db41c7a4038b7"><div class="ttname"><a href="structeHimage.html#a9483a5238c06a352128db41c7a4038b7">eHimage::ch</a></div><div class="ttdeci">double * ch[3]</div><div class="ttdoc">a view into each channel </div><div class="ttdef"><b>Definition:</b> eHimage.h:25</div></div>
<div class="ttc" id="eHimage_8h_html_a7e87d5e4ab358be0d5bf2ee648d9ee2c"><div class="ttname"><a href="eHimage_8h.html#a7e87d5e4ab358be0d5bf2ee648d9ee2c">image_delete</a></div><div class="ttdeci">void image_delete(image_ptr img)</div><div class="ttdoc">Delete image and associated memory. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:63</div></div>
<div class="ttc" id="structeHbox__f_html"><div class="ttname"><a href="structeHbox__f.html">eHbox_f</a></div><div class="ttdoc">box with floating-point boundaries </div><div class="ttdef"><b>Definition:</b> eHbox.h:25</div></div>
<div class="ttc" id="eHimage_8h_html_a014be865a1868dec62c6a796ef71810e"><div class="ttname"><a href="eHimage_8h.html#a014be865a1868dec62c6a796ef71810e">image_writeJPG</a></div><div class="ttdeci">void image_writeJPG(const image_ptr img, const char *filename)</div><div class="ttdoc">Write Jpeg image file. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:129</div></div>
<div class="ttc" id="eHimage_8h_html_a77cd33d6390bf822b058eb7f25e43d6c"><div class="ttname"><a href="eHimage_8h.html#a77cd33d6390bf822b058eb7f25e43d6c">image_display</a></div><div class="ttdeci">void image_display(const image_ptr img, const std::string &amp;winname)</div><div class="ttdoc">Display an image. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:142</div></div>
<div class="ttc" id="eHimage_8h_html_af0063d4ff4f21fd884270787bb469ecf"><div class="ttname"><a href="eHimage_8h.html#af0063d4ff4f21fd884270787bb469ecf">image_subsample</a></div><div class="ttdeci">image_ptr image_subsample(const image_ptr img, double scale)</div><div class="ttdoc">Fast image subsampling. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:226</div></div>
<div class="ttc" id="eHimage_8h_html_a9d97a70868e2ba2958b23143e64f9201"><div class="ttname"><a href="eHimage_8h.html#a9d97a70868e2ba2958b23143e64f9201">image_fill</a></div><div class="ttdeci">void image_fill(image_ptr img, const double *val)</div><div class="ttdoc">Fill all pixels with same values. </div></div>
<div class="ttc" id="eHimage_8h_html_a261c244cf36d1f5c42065d0e9f5f5ed6"><div class="ttname"><a href="eHimage_8h.html#a261c244cf36d1f5c42065d0e9f5f5ed6">image_alloc</a></div><div class="ttdeci">image_ptr image_alloc(size_t sizy, size_t sizx, size_t nch=3)</div><div class="ttdoc">Allocate a new image of size [sizy, sizx, nch]. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:24</div></div>
<div class="ttc" id="structeHimage_html_a32762d41a4a29f7f4ec2deeaf89581b7"><div class="ttname"><a href="structeHimage.html#a32762d41a4a29f7f4ec2deeaf89581b7">eHimage::sizx</a></div><div class="ttdeci">size_t sizx</div><div class="ttdoc">image width </div><div class="ttdef"><b>Definition:</b> eHimage.h:27</div></div>
<div class="ttc" id="eHimage_8h_html_ad385369b8994122799afb2d270e13f54"><div class="ttname"><a href="eHimage_8h.html#ad385369b8994122799afb2d270e13f54">image_reduce</a></div><div class="ttdeci">image_ptr image_reduce(const image_ptr img)</div><div class="ttdoc">Get an image half the size of input one. </div><div class="ttdef"><b>Definition:</b> eHimage.cpp:325</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 26 2014 22:18:57 for Face Detection with Alignment by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
